import * as mysql from 'mysql';
export class Db {
    public pool: mysql.IPool=null;
    constructor() {


    }
    public init(config: any):void {
        mysql.createPool(
            {
                host: config.HOST,
                user: config.USER,
                password: config.PSWD,
                database: config.DB,
                port: config.PORT,
            }

        )
    }
}